home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Conversion
/
Convert_PICT
/
Testing
/
hex_tests
/
pat=set2=bw.hex
< prev
next >
Wrap
Text File
|
1992-12-05
|
3KB
|
84 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
11 01 % verson
01 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
30 0000 0000 00FF 00FF % draw bounding rect
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This test set seeks to demonstrate that more 'special' opcodes
% for bitmaps, polygons, regions, and thickly framed shapes work as
% they should with patterns.
% This test confirms that they work with basic B&W patterns
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
02 0008 142A 552A 1408 % back pat (grey diamonds)
09 7789 8f8f 7798 f8f8 % pen pat (the black dimpled circles one)
0A 8244 3944 8201 0101 % fill pat
% paint a region
81 0028 0090 0010 00F0 0070
0090 0040 0050 7FFF
00C0 0010 0070 7FFF
00F0 0010 0040 0050 0070 7FFF
7FFF
% fill a hexagonal polygon
74 0026 0080 0080 00F0 00F0
0080 00A0
0080 00D0
00C0 00F0
00F0 00D0
00F0 00A0
00C0 0080
0080 00A0
% set a thick pen size
07 0010 0008
% thickly Frame a rectangle
30 0010 0080 0050 00D0
% Include a bitmap, to confirm it is not affected
90
0004 % rowbytes
0000 0050 0018 0070 % bounds (t l b r)
0000 0050 0018 0069 % source rect
0010 0020 0028 0039 % dest rect
0001 % mode
00 7F 00 00 % bit data (unpacked)
03 80 E0 00
06 00 30 00
08 00 08 00
10 00 04 00
20 00 02 00
60 00 03 00
40 00 01 00
40 00 81 00
80 03 80 80
83 00 00 80
80 00 00 80
80 00 00 80
80 00 30 80
80 00 20 80
40 00 21 00
40 00 C1 00
63 07 83 00
20 F8 02 00
10 00 04 00
08 00 08 00
06 00 30 00
03 80 E0 00
00 7F 00 00
FF % end